<?php
    include 'init.php';

    //如果没有登录请登录
    if(empty($_SESSION['admin'])){
        header('location:login.php');
    }
?>
<html>
    <head>
        <meta http-equiv="content-type" content="text/html; charset=utf-8">
        <title>Index</title>
        <style type="text/css">
            .album_list{
                float:left;
                width:150px;
                height:150px;
                margin-left:5px;
            }

            .album_list img{
                width:150px;
                height:150px;
            }
        </style>
    </head>
    <body>
        <div>欢迎<font color="blue"><?php echo $_SESSION['admin']['name'] ?></font>来到相册</div>
